package com.lagou.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/email")
public class EmailController {

    @RequestMapping("/{email}/{code}")
    public boolean sendCode(@PathVariable String email, @PathVariable String code){
        System.out.println("email:"+email+" code:"+code);
        return false;
    }
}
